package com.net.xpay.common.domain.notify;

import com.net.common.domain.CommonDomain;
import com.net.xpay.common.enums.notify.NotifyStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
public class FlexibleStaffAuthenticationNotifyRecord extends CommonDomain {
    @ApiModelProperty(notes = "用户id")
    private Long userId;

    @ApiModelProperty(notes = "第三方订单号")
    private String importBizNo;

    @ApiModelProperty(notes = "核验单号")
    private Long flexibleStaffAuthenticationId;

    @ApiModelProperty(notes = "通知状态")
    private NotifyStatus status;

    @ApiModelProperty(notes = "通知处理完成等最终状态时间")
    private LocalDateTime endTime;

    @ApiModelProperty(notes = "回调地址")
    private String notifyUrl;

    @ApiModelProperty(notes = "通知次数 8次（第8次通知完直接status跟新为死信通知人工处理）")
    private Integer notifyCount;

    @ApiModelProperty(notes = "下次通知时间 0m 2m,10m,10m,1h,2h,6h,15h")
    private LocalDateTime nextNotifyTime;

    @ApiModelProperty(notes = "通知的json字符串")
    private String notifyContent;


}
